cmake_minimum_required(VERSION 3.10)
project(sqlConnectionPool)

set(CMAKE_CXX_STANDARD 11)

include_directories(include)

set(CMAKE_RUNTIME_OUTPUT_DIRECTORY ${CMAKE_SOURCE_DIR}/bin)

add_executable(sqlConnectionPool main.cpp src/connection.cpp src/connectionPool.cpp)

target_link_libraries(sqlConnectionPool mysqlclient pthread)